var convertedPopups=[];var closedPopups=[];function showPopup(uuid){var iframe=document.getElementById(uuid);if(iframe){iframe.style.display='block';iframe.style.position='fixed';iframe.style.top='0px';iframe.style.left='0px';iframe.style.height='100vh';iframe.style.width='100vw';iframe.style.zIndex='999999'}}function trackGaEvent(pageType,popupName){if(typeof gtag!=='undefined'){gtag('event',pageType,{'event_category':'Popups','event_label':popupName})}else if(typeof ga!=='undefined'){ga('send','event','Popups',pageType,popupName)}}function isPopupClosed(uuid){var iframe=document.getElementById(uuid);if(iframe===null){return!0}return iframe.style.display==='none'}let PopupCounterCollection={save:function(counterCollection){window.localStorage.setItem('lpc',JSON.stringify(counterCollection))},get:function(){return JSON.parse(window.localStorage.getItem('lpc'))}};let PopupVisitCollection={save:function(visitCollection){window.localStorage.setItem('lpv',JSON.stringify(visitCollection))},get:function(){return JSON.parse(window.localStorage.getItem('lpv'))}};let PopupSession={save:function(session){window.localStorage.setItem('lps',JSON.stringify(session))},get:function(){return JSON.parse(window.localStorage.getItem('lps'))}}